package com.dfbz.dao;

import com.dfbz.dao.Base.BaseDao;
import com.dfbz.model.Userfocus;
import org.springframework.jdbc.core.JdbcTemplate;

public class UserfocusDao extends BaseDao<Userfocus> {
    private JdbcTemplate jdbcTemplate=getJdbcTemplate();
    public UserfocusDao() {
        super(Userfocus.class);
    }
    public void deleteFocus(Integer uid,Integer fid){
        jdbcTemplate.update("delete from userfocus where user_id=? and user_focus_id=?",uid,fid);
    }
}
